package com.wiken.servicecommon.common.exception;

import com.wiken.servicecommon.common.Code;
import lombok.Data;

@Data
public class DefaultException extends RuntimeException{
    private String message;
    private int code;

    public DefaultException( int code, String message) {
        this.message = message;
        this.code = code;
    }


}
